home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d16 / pshell21.arc / PSHELL.TXT < prev   
Text File  |  1991-08-26  |  12KB  |  355 lines

  1.  
  2. OTHER NAME
  3.  
  4. 23 augustus 1991
  5.  
  6. There suddenly exists a very similar program, which on Bulletin Boards 
  7. has the name 4WIN110.ZIP. It has a 4WIN.EXE executable and does more 
  8. or less same as my PSHELL, but I think mine is better ;-). Aw, that guy 
  9. does not even have a DESCRIBE-function!
  10.  
  11. I used the name 4WIN for the compressed files, 'cause it was rather
  12. meaningful (4dos for WINdows). To avoid confusion I'll ship
  13. my program as 4SHELLxx, where xx is the version number.
  14.  
  15.  
  16. Hans Paijmans.
  17.  
  18.  
  19. DISCLAIMER
  20.  
  21. All the usual disclaimers go here: use PSHELL at your own risk and
  22. don't come wailing to me if bugs in the program eat your disk, your
  23. computer and your pet canary. As far as I know there are no dangerous
  24. bugs in PSHELL and I certainly did not put a virus in it. Please read
  25. the copyright notice: althoug not too many strings are attached (pun
  26. not intended), this program is not public domain.
  27.  
  28. I will now stop development of this version (1.): it was only meant to
  29. give  me the first 'feel' of Turbo pascal for Windows.
  30. Version (2) will be around later this year. I will use it to delve into
  31. the niceties of the OWL development kit, which comes with TPW, but
  32. looks, sounds and smells VERY complicated! PSHELL version 2 will
  33. have some new tricks, which I also miss in WINDOWS.
  34.  
  35. Comments and suggestions are always welcome as are bottles with beer!
  36. See address below. (Must see the first dutchman yet who sends a
  37. bottle of beer for what he can have for free!).
  38.  
  39.  
  40.  
  41. DIRECTIONS OF USE
  42.  
  43. Put PSHELL.EXE and PSHELL.HLP somewhere in your path. There is an
  44. Icon in PSHELL, but it does not seem to come out if the program is
  45. minimized.
  46.  
  47. If you like PSHELL, add a line like
  48.  
  49.       RUN = E:\BIN\PSHELL.EXE
  50.  
  51. in WIN.INI and it will be around when WINDOWS awakens.
  52.  
  53. Use the HELP-command to learn about the commands. A synopsis is given
  54. below, but I keep adding things and forgetting about them later.
  55.  
  56.  
  57. PSHELL does not cover all 4DOS-commands, switches and parameters.  It
  58. reflects those functions that I use regularly, but there are many
  59. very sensible functions that are not in PSHELL, because I do not
  60. happen to need them. Tell you what: send me a bottle of Belgian beer
  61. and I'll add them in for you.
  62.  
  63.  
  64.  
  65.  
  66.  
  67. DEVELOPMENT HISTORY.
  68.  
  69.  
  70. PSHELL version 1.0
  71.  
  72. copyright Hans Paijmans 1991.
  73.  
  74.  
  75. PSHELL was born from the conviction that ten fingers and a keyboard
  76. are better tools to perform typical housekeeping-tasks on the PC than
  77. mice and other pointing devices.
  78.  
  79. Also I am addicted to 4DOS, the well-known alternative for
  80. COMMAND.COM from JP Software and many of my directories have
  81. 4DOS-descriptions attached. Alas!  none of the command-line shells
  82. for WINDOWS, that I have seen, seems to support them.
  83.  
  84. So I wrote another command-line shell for MS-WINDOWS, but one that
  85. should be able to read the 4DOS DESCRIPT.ION-files. It is at the
  86. moment a very rough-and-ready affair, but it works.
  87.  
  88.  
  89. How to use it:
  90.  
  91. ------> Refer to 4DOS help if the following is not clear.
  92.  
  93. COPY, REN, DEL and DIR may be used and changes will be reflected in
  94.    the descriptions. Parameters not supported at the moment.
  95.  
  96. TYPE and LIST are identical. They support wildcards. Press ESC to
  97.    cancel the typing of the current file, ctrl_C to quit.
  98.    S to stop scrolling, any key to start again.
  99.  
  100. CHDIR, RMDIR, MKDIR work as expected (by me, that is).
  101.  
  102. CDD changes both path and disk.
  103.  
  104. DESCRIBE filenaam: will enable the user to add 4DOS descriptions to
  105.    files in the directory.
  106.  
  107. DOS and MS-WINDOWS commands may be typed on the commandline to start
  108.    execution. This works for BAT-files and PIF-files too. The DOS
  109.    path-environment is copied to PSHELL and expanded when searching
  110.    for an executable file.  If one is found, first a CHDIR to that
  111.    directory is executed.
  112.  
  113. EXIT. To kill the 4PSHELL just type EXIT on the command-line.
  114.  
  115. ==============================================================================
  116.  
  117.  PSHELL version 1.01
  118.  
  119.  Bug removed, which prevented execution of external commends, if not
  120.  in path.
  121.  
  122.  CD, RD and MD now also work as MKDIR, CHDIR etc.
  123.  
  124.  PUSHD dirname, DIRS and POPD added, with stack of twenty
  125.     directory-names.
  126.  
  127.  MEMORY and FREE added (RAM and default disk).
  128.  
  129.  MOVE added (deletes files after copying them).
  130.  
  131.  HISTORY added.
  132.  
  133. ==============================================================================
  134.  
  135.  PSHELL version 1.02 -- 12 juni 1991
  136.  
  137.  
  138.  Scrollbar activated. Virtual PSHELL-window now is 256 lines and may
  139.  be scrolled back and forth.
  140.  
  141.  CLS added (guess what).
  142.  
  143.  TREE added (displays directory-tree).
  144.  
  145.  ^E is now automatically followed by ^F when editing the command-
  146.     history.
  147.  
  148.  /w - switch added to DIR (for wide display).
  149.  
  150.  Bug removed, which impeded DELETE and COPY after a number of times.
  151.  
  152.  Bug removed, which prevented loading programs if path was set.  Bug
  153.  removed, which sometimes did not update the descriptions after REN.
  154.  
  155.  =============================================================================
  156.  
  157.  PSHELL version 1.03
  158.  
  159.  /a - switch added to DIR (displays attributes in stead of comments);
  160.  /c - switch added to TYPE to add CR to lines, which don't have one.
  161.  
  162.  GLOBAL added for executing an internal command over several
  163.       directories.  Try GLOBAL DEL *.* to get the general idea. (NO!
  164.       Don't take me serious!).
  165.  
  166.  STOP added, to quit WINDOWS without first having to discuss it with
  167.       the progam manager. You have to enter 'Y' in uppercase to
  168.       confirm.
  169.  
  170.  HELP added, which was a major pain in the ass. But thanks to God,
  171.       Phillipe Kahn and my own gigantic intelligence, I finally
  172.       figured how to write MS-WINDOWS help-files.
  173.  
  174.  DOS  a command, which starts the COMMAND-interpreter that is in the
  175.       COMSPEC-variable (either DOS or 4DOS).
  176.  
  177.  command line editor added; ^E, ^X, ^S and ^D function as Uparrow,
  178.    downarrow, left and right. ^A and ^F as HOME and END.  As I said,
  179.    I am waiting for a trick to read the scancodes.  You 'll remember
  180.    that in 4DOS the up-arrow cycled back through the command-history,
  181.    and the down-arrow forward. ^E and ^X do it now in 4PSHELL. Don't
  182.    forget to use HOME (^A) and END (^F) to finish the edited
  183.    command-line.
  184.    NB. this is fixed in version 1.04. Arrows now work like expected.
  185.  
  186.  =============================================================================
  187.  
  188.  PSHELL version 1.04
  189.  
  190.  My thanks to Martin Fridael who tested the previous versions.
  191.  
  192.  Backslash and point may be placed behind commands without
  193.  intervening space.  N.B. spaces before the slash of a switch are
  194.  obligatory!
  195.  
  196.  The caret (^) now may be used to combine several commands on the
  197.  command line.
  198.  
  199.  DIR now displays the correct free space (in stead of the space of
  200.      the defaultdisk).
  201.  
  202.  DOS-command removed in favour of 4DOS or COMMAND. Try them to see
  203.      which one works on your system.
  204.  
  205.  STOP! quits Windows without confirmation
  206.  
  207.  ARROW-keys and Home/End now work too! Finally got my fingers between
  208.      the keys.
  209.  
  210.  The close-box left-up now works without letting an accidental
  211.      CTRL-C clobber the window.
  212.  
  213. =====================================================================
  214.  
  215.  PSHELL version 1.05
  216.  
  217.  DIR Displays sum of files in a directory.
  218.  
  219.  DEL Now you can stop a DEL *.* by pressing ctrl-c. I did find out the hard
  220.      way that ctrl-c did not work here.
  221.  
  222.  EXCEPT (one of that 4DOS-goodies) works too! Just put filespecs
  223.      inside parenthesis and give a disk-command.
  224.      e.g.
  225.      EXCEPT (*.EXE *.COM) COPY *.* B:
  226.      It works by first setting the attributes of the files
  227.      between the parenthesis on HIDDEN and READONLY, executing
  228.      the command and setting the HIDDEN and READONLY off again.
  229.      NOTE: files of that filespec, which were hidden or read-only
  230.      to begin with, are changed to NOT hidden and NOT readonly!
  231.  
  232.  SET may be used to examine DOS environment variables (not to SET them!)
  233.  
  234. ==============================================================================
  235.  
  236.  PSHELL version 1.06
  237.  
  238.  Although I considered version 1.05 as the final version, they kept
  239.  pestering me for refinements like storing the window-dimensions in
  240.  an INI-file. I consider it rot, but here goes...
  241.  
  242.  EXIT /S causes the current parameters to be saved in a PSHELL.INI.
  243.  
  244. ==============================================================================
  245.  
  246.  PSHELL version 1.07
  247.  
  248.  Some germans asked for umlauts etc in the descriptions... They got it.
  249.  But I did not find out how to enter them in PSHELL, so they will have to
  250.  do this kind of descriptions in the 4DOS-shell, although they may read
  251.  them in PSHELL. If they know how to make WINDOWS recognize that
  252.  horrible german keyboards, they may tell me about it.
  253.  
  254.  /S added to TYPE and LIST. It suppresses weird characters and
  255.     adds CR/LF's, so that you may TYPE executables and other
  256.     non-ASCII-files.
  257.  
  258.  /W trims bit 8 (useful for some wordprocessor-files).
  259.  
  260.  
  261.  
  262.  Support added for the excellent WINBATCH batchprocessor for Windows
  263.  from Morris Wilson. A shareware version can be downloaded from any
  264.  well-equipped BBS. Just put WINBATCH and the batchfile (extension WBT)
  265.  somewhere in your path. Of course WINBATCH will nag you for registration
  266.  every first time you use it in a session. I will nag you for a bottle
  267.  of beer, every time you read this.
  268.  
  269.  INDES. The command INDES has been added, which enables the selection
  270.      of files which have a certain string in their description-part (not case-
  271.      sensitive).
  272.      So
  273.  
  274.      INDES "foobar" DEL *.BAK
  275.  
  276.      means "delete all *.bak-files with 'foobar' somewhere in the description.
  277.      and
  278.  
  279.      INDES NOT "foobar" DEL *.bak
  280.  
  281.      means "delete all *.bak-files, except those with 'foobar' somewhere
  282.      in the description...
  283.  Try it! It effectively makes the filenames 40 characters longer!
  284.  I might go and implement it as an addition to 4DOS, it works that well!
  285.  
  286.  DESCRIBE now accepts a stringargument, which lets you add descriptions
  287.      to a lot of files in one command. like:
  288.  
  289.      DESCRIBE PSHELL*.* "That beautiful shell of Paijmans
  290.  
  291.  F1 may be used to start HELP now. And I finally got that bloody Icon
  292.      nailed!
  293.  
  294.  It is not necessary anymore to give the drive explicitly when starting a
  295.  BAT-file in the default-directory.
  296.  
  297.  Some minor bugs squashed, notably in Type, the file-comments and
  298.  rename, thanks to Petri Hartoma, who also suggested the ICON-fix.
  299.  Also a bug, wich prohibited executing external commands, which were preceded
  300.  by a disk and colon.
  301.  
  302. ==============================================================================
  303.  
  304.  PSHELL version 1.09   23 August 1991
  305.  PSHELL version 2.01
  306.  
  307.  BAC added, which works like COPY, but only copies new files and
  308.      files, which are younger than the files on the destination drive
  309.  
  310.  UPDATE added, which copies only younger files over older files, 
  311.      but does not add new files.
  312.  
  313.  BEEP added. Look, you're not gonna believe this, but it beeps.
  314.  
  315.  LOAD added, which loads and minimizes a task as an Icon.
  316.  
  317.  INDES is split in INDES and INDESI. INDES now is case-sensitive and
  318.  INDESI is not.
  319.  
  320.  WHERE filenaam. Searches default disk for file(s)
  321.  
  322.  BATCH-files. It had to come: PSHELL now has batchfiles of its own.
  323.  Just use ASCII-files with the extension .PBT.
  324.  Currently supported are:
  325.  
  326.    ECHO on|off|messagestring
  327.    REM
  328.    PAUSE message
  329.    9 parameters (%1 .. %9) 
  330.    IF parameter == string .... (mind the spaces around the == !)
  331.               also eq, ne, gt, lt, le, ge 
  332.    EXISTS filename
  333.    GOTO label
  334.    :label
  335.  
  336. ==================================================================
  337.  
  338. COPYRIGHT NOTICE
  339.  
  340. Although everybody is invited to copy PSHELL for private use, the
  341. program is NOT public domain. I want to keep all options open to
  342. prohibit criminal, racist, zionist and fascist organizations to
  343. profit from my work.
  344.  
  345. Suggestions and donations of bottles with Belgian beer are welcome
  346. at
  347.  
  348. Hans Paijmans
  349. Elzenstraat 1
  350. 5183 VS Waalre
  351. Holland
  352.  
  353. PAAI@KUB.NL (bitnet).
  354.  
  355.